import request from '@/utils/request'


export function auxiliaryMaintenancePage(data) { //分页查询
  return request({
    url: '/sys-center/api/decision/config/page',
    method: 'POST',
    data
  })
}
export function auxiliaryMaintenanceAdd(data) { //添加
  return request({
    url: '/sys-center/api/decision/config/add',
    method: 'POST',
    data
  })
}
export function auxiliaryMaintenanceEdit(data) { //编辑
  return request({
    url: '/sys-center/api/decision/config/edit',
    method: 'POST',
    data
  })
}
export function auxiliaryMaintenanceDelete(id) { //删除
  return request({
    url: '/sys-center/api/decision/config/del/'+id,
    method: 'GET',
  })
}
export function auxiliaryMaintenanceDetails(id) { //根据id回显数据
  return request({
    url: '/sys-center/api/decision/config/'+id,
    method: 'GET',
  })
}
